instanceVariableNames: 'x y z xi yi screenOffset env form backgroundForm '
classVariableNames: 'BallImagesDict '
poolDictionaries: ''
category: '3DGame-Shan'!
ThreeDBall comment:
'The original prototype of ThreeDBall is a subclass of IconicMode. The prototype was built within a day and running correctly. For performance reason, it was rewritten. Now it is not a mode anymore. Notice that the example is to show the concurrent input ability of the MMS. Also ThreeDBall does not conduct a dialogue with the user. It is reasonable for it to not be a mode. Shan June 2, 1989'!
!ThreeDBall methodsFor: 'initialize'!
initialize
x _ 0.
y _ 0.
z _ 0.
form _ BallImagesDict at: 50! !
!ThreeDBall methodsFor: 'positioning'!
moveToX: x1 y: y1 z: z1
"Take the object spece coordinates and compute the image space xi